home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
PROGRAMMING
/
Raven 1.2 Examples.sit
/
Raven 1.2 Examples
/
Quill
/
Source
/
ViewWindow.h
< prev
next >
Wrap
Text File
|
1996-10-28
|
1KB
|
58 lines
/*
* File: ViewWindow.h
* Summary: The default window panes are edited in.
* Written by: Jesse Jones
*
* Copyright ゥ 1996 Jesse Jones.
* For conditions of distribution and use, see copyright notice in ZTypes.h
*
* Change History (most recent first):
*
* <-> 9/02/96 JDJ Created
*/
#pragma once
#include <ZListener.h>
#include <ZWindow.h>
#include "ResourceMap.h"
// ===================================================================================
// class CViewWindow
// ===================================================================================
class CViewWindow : public TWindow, public MListener<SResourceMapMessage> {
typedef TWindow Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CViewWindow();
CViewWindow(const SWindowInfo& info, CResourceMap* rsrcMap, ResID id, MCommander* superCommander);
//-----------------------------------
// New API
//
protected:
void UpdateTitle();
//-----------------------------------
// Inherited API
//
protected:
virtual void Invariant() const;
virtual void OnBroadcast(const SResourceMapMessage& mesg);
//-----------------------------------
// Member data
//
protected:
CResourceMap* mRsrcMap;
ResID mRsrcID;
};